package com.bicon.base.data.pojo.botu;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 健康数据
 * </p>
 *
 * @author zhoutyianqi
 * @since 2018-07-25
 */
@TableName("t_h_user_health_data")
public class THUserHealthData extends Model<THUserHealthData> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;
    /**
     * 字典编码
     */
    @TableField("dictionary_code")
    private String dictionaryCode;
    /**
     * 用户id
     */
    @TableField("user_id")
    private String userId;
    /**
     * 指标名称
     */
    @TableField("index_name")
    private String indexName;
    /**
     * 统计值
     */
    @TableField("index_value")
    private String indexValue;
    /**
     * 目标值
     */
    @TableField("target_index_value")
    private String targetIndexValue;
    /**
     * 单位
     */
    @TableField("index_unit")
    private String indexUnit;
    /**
     * 删除标志：0正常，1删除
     */
    @TableField("logic_delete")
    private String logicDelete;
    /**
     * 创建时间
     */
    @TableField("create_date")
    private Date createDate;
    /**
     * 更新时间
     */
    @TableField("update_date")
    private Date updateDate;
    /**
     * 目标值单位
     */
    @TableField("target_index_unit")
    private String targetIndexUnit;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDictionaryCode() {
        return dictionaryCode;
    }

    public void setDictionaryCode(String dictionaryCode) {
        this.dictionaryCode = dictionaryCode;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getIndexName() {
        return indexName;
    }

    public void setIndexName(String indexName) {
        this.indexName = indexName;
    }

    public String getIndexValue() {
        return indexValue;
    }

    public void setIndexValue(String indexValue) {
        this.indexValue = indexValue;
    }

    public String getTargetIndexValue() {
        return targetIndexValue;
    }

    public void setTargetIndexValue(String targetIndexValue) {
        this.targetIndexValue = targetIndexValue;
    }

    public String getIndexUnit() {
        return indexUnit;
    }

    public void setIndexUnit(String indexUnit) {
        this.indexUnit = indexUnit;
    }

    public String getLogicDelete() {
        return logicDelete;
    }

    public void setLogicDelete(String logicDelete) {
        this.logicDelete = logicDelete;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getTargetIndexUnit() {
        return targetIndexUnit;
    }

    public void setTargetIndexUnit(String targetIndexUnit) {
        this.targetIndexUnit = targetIndexUnit;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "THUserHealthData{" +
        "id=" + id +
        ", dictionaryCode=" + dictionaryCode +
        ", userId=" + userId +
        ", indexName=" + indexName +
        ", indexValue=" + indexValue +
        ", targetIndexValue=" + targetIndexValue +
        ", indexUnit=" + indexUnit +
        ", logicDelete=" + logicDelete +
        ", createDate=" + createDate +
        ", updateDate=" + updateDate +
        ", targetIndexUnit=" + targetIndexUnit +
        "}";
    }
}
